package com.taru.wxhsh.mapper;

import com.taru.wxhsh.pojo.Category;

import java.util.List;

public interface CategoryMapper {
    int deleteByPrimaryKey(String categoryId);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(String categoryId);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    //修改++类别排序数字
    int upByPrimaryKey(String categoryId);

    //修改--类别排序数字
    int downByPrimaryKey(String categoryId);
    /**
     * 查询类别列表
     * @return
     */
    List<Category> qryList();
}